package com.ruoyi.management.basics.mapper;


import com.ruoyi.management.basics.domain.TEmployee;
import com.ruoyi.management.basics.ro.GetEmployeesParam;
import com.ruoyi.management.basics.vo.GetDriverDetailVo;
import com.ruoyi.management.basics.vo.GetDriverVo;
import com.ruoyi.management.basics.vo.GetEmployeesVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 * 
 * @author ruoyi
 * @date 2021-11-30
 */
public interface TEmployeeMapper {

    TEmployee selectTEmployeeByTelAndIdCard(@Param("tel") String tel, @Param("idCard") String idCard);

    GetDriverDetailVo selectEmployeeDetailByPhone(@Param("phone") String phone);

    List<GetEmployeesVo> getDrivers(@Param("param") GetEmployeesParam param);

    GetDriverVo getEmployeeByPhone(String username);

    TEmployee selectTEmployeeByNameAndIdCard(@Param("name") String name, @Param("idCard") String idCard);

    GetDriverDetailVo getEmployeeDetailByIdcard(@Param("idCard") String idCard);

    String getIdCardByUsername(String userName);
}
